//
//  JSKeyboardFontCell.h
//  JigSaw
//
//  Created by 贺勇 on 15/3/14.
//  Copyright (c) 2015年 LITB. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, JSKeyboardFontCellType)
{
    JSKeyboardFontCellTypeNeedDownload = 0,
    JSKeyboardFontCellTypeDownloading,
    JSKeyboardFontCellTypeDownloadDone,
    JSKeyboardFontCellTypeNormal
};

@interface JSKeyboardFontCellModel : NSObject

@property (nonatomic, strong) UIImage * fontImage;
@property (nonatomic, assign) JSKeyboardFontCellType type;
@property (nonatomic, assign) float progress;
@property (nonatomic, assign) float fontSize;

@end

@interface JSKeyboardFontCell : UITableViewCell

@property (nonatomic, strong) JSKeyboardFontCellModel * cellModel;

@property (nonatomic, copy) VOID_BLOCK_WITH_ID downloadBlock;
@property (nonatomic, copy) VOID_BLOCK_WITH_ID cancelBlock;

@end
